<%-- 
    Document   : userList
    Created on : 2019-9-26, 9:23:37
    Author     : danny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>用户列表</h1>
        <table>
            <tr>
                <th>账号</th>
                <th>姓名</th>
            </tr>
            <c:forEach items="${ul}" var="u">
                <tr>
                    <td>${u.account}</td>
                    <td>${u.userName}</td>
                </tr>
            </c:forEach>
        </table>
    </body>
</html>
